<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>AndBase开发框架: com.ab.http.AbRequestParams类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ic_launcher.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">AndBase开发框架
   &#160;<span id="projectnumber">1.6</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab.html">ab</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab_1_1http.html">http</a></li><li class="navelem"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html">AbRequestParams</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-static-attribs">静态 Private 属性</a> &#124;
<a href="classcom_1_1ab_1_1http_1_1_ab_request_params-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.ab.http.AbRequestParams类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params_1_1_file_wrapper.html">FileWrapper</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a403b7a8390d07abf187760d42ec88fdf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a403b7a8390d07abf187760d42ec88fdf">AbRequestParams</a> ()</td></tr>
<tr class="separator:a403b7a8390d07abf187760d42ec88fdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada060f34bf9484eec14c92464d430a0b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#ada060f34bf9484eec14c92464d430a0b">AbRequestParams</a> (Map&lt; String, String &gt; source)</td></tr>
<tr class="separator:ada060f34bf9484eec14c92464d430a0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4082a231a9b2fe9e3c61f8e3bed4fb1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#aa4082a231a9b2fe9e3c61f8e3bed4fb1">AbRequestParams</a> (String key, String value)</td></tr>
<tr class="separator:aa4082a231a9b2fe9e3c61f8e3bed4fb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0aeda2e1c1f4759235e0d209703fecd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#ad0aeda2e1c1f4759235e0d209703fecd">put</a> (String key, String value)</td></tr>
<tr class="separator:ad0aeda2e1c1f4759235e0d209703fecd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06cc3e936e0aeda409628fe31a43420b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a06cc3e936e0aeda409628fe31a43420b">put</a> (String key, File file, String contentType)</td></tr>
<tr class="separator:a06cc3e936e0aeda409628fe31a43420b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc7a7077ad3d6c83d11a13f7c1b7eb97"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#adc7a7077ad3d6c83d11a13f7c1b7eb97">put</a> (String key, File file)</td></tr>
<tr class="separator:adc7a7077ad3d6c83d11a13f7c1b7eb97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e6f2c2e3c7f8d457a42306d78484218"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a7e6f2c2e3c7f8d457a42306d78484218">remove</a> (String key)</td></tr>
<tr class="separator:a7e6f2c2e3c7f8d457a42306d78484218"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a282fb374a5394be77a440e0c86cdd80c"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a282fb374a5394be77a440e0c86cdd80c">toString</a> ()</td></tr>
<tr class="separator:a282fb374a5394be77a440e0c86cdd80c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa882cfe029ec93efbb90a2d91075e17f"><td class="memItemLeft" align="right" valign="top">List&lt; BasicNameValuePair &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#aa882cfe029ec93efbb90a2d91075e17f">getParamsList</a> ()</td></tr>
<tr class="separator:aa882cfe029ec93efbb90a2d91075e17f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af964aff2d17018c24235eca091bdf68f"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#af964aff2d17018c24235eca091bdf68f">getParamString</a> ()</td></tr>
<tr class="separator:af964aff2d17018c24235eca091bdf68f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a506d7f5e841273205b4dffa3f4122b08"><td class="memItemLeft" align="right" valign="top">HttpEntity&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a506d7f5e841273205b4dffa3f4122b08">getEntity</a> (<a class="el" href="classcom_1_1ab_1_1http_1_1_ab_http_response_listener.html">AbHttpResponseListener</a> responseListener)  throws IOException </td></tr>
<tr class="separator:a506d7f5e841273205b4dffa3f4122b08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ad99a409de37b06410a8248837e9a56"><td class="memItemLeft" align="right" valign="top">HttpEntity&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a3ad99a409de37b06410a8248837e9a56">createFormEntity</a> ()</td></tr>
<tr class="separator:a3ad99a409de37b06410a8248837e9a56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf62ddcb341020325e3abd1cd4dda7f1"><td class="memItemLeft" align="right" valign="top">ConcurrentHashMap&lt; String, String &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#adf62ddcb341020325e3abd1cd4dda7f1">getUrlParams</a> ()</td></tr>
<tr class="separator:adf62ddcb341020325e3abd1cd4dda7f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a340fc13bc20b0407b14394d8df64063a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a340fc13bc20b0407b14394d8df64063a">setUrlParams</a> (ConcurrentHashMap&lt; String, String &gt; <a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a74843600ff87c23ecddbc2fb7ea63072">urlParams</a>)</td></tr>
<tr class="separator:a340fc13bc20b0407b14394d8df64063a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a74843600ff87c23ecddbc2fb7ea63072"><td class="memItemLeft" align="right" valign="top">ConcurrentHashMap&lt; String, String &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a74843600ff87c23ecddbc2fb7ea63072">urlParams</a></td></tr>
<tr class="separator:a74843600ff87c23ecddbc2fb7ea63072"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d3b36578878bb25d28ef0fa45e8a2c0"><td class="memItemLeft" align="right" valign="top">ConcurrentHashMap&lt; String, <br class="typebreak" />
<a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params_1_1_file_wrapper.html">FileWrapper</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a6d3b36578878bb25d28ef0fa45e8a2c0">fileParams</a></td></tr>
<tr class="separator:a6d3b36578878bb25d28ef0fa45e8a2c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:ab239d3d2e9c306a7fa4e1e76b21ee0c0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#ab239d3d2e9c306a7fa4e1e76b21ee0c0">init</a> ()</td></tr>
<tr class="separator:ab239d3d2e9c306a7fa4e1e76b21ee0c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbe0b666ba54ac2e236fa7171537be6"><td class="memItemLeft" align="right" valign="top">HttpEntity&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a0fbe0b666ba54ac2e236fa7171537be6">createMultipartEntity</a> (<a class="el" href="classcom_1_1ab_1_1http_1_1_ab_http_response_listener.html">AbHttpResponseListener</a> responseListener)  throws IOException </td></tr>
<tr class="separator:a0fbe0b666ba54ac2e236fa7171537be6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
静态 Private 属性</h2></td></tr>
<tr class="memitem:a24ecb5a7236ac71cdda75722106e8ffa"><td class="memItemLeft" align="right" valign="top">static final String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params.html#a24ecb5a7236ac71cdda75722106e8ffa">APPLICATION_OCTET_STREAM</a> = &quot;application/octet-stream&quot;</td></tr>
<tr class="separator:a24ecb5a7236ac71cdda75722106e8ffa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>© 2012 amsoft.cn 名称：AbRequestParams.java 描述：Http请求参数</p>
<dl class="section author"><dt>作者</dt><dd>还如一梦中 </dd></dl>
<dl class="section version"><dt>版本</dt><dd>v1.0 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>：2013-11-13 上午10:28:55 </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a403b7a8390d07abf187760d42ec88fdf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.ab.http.AbRequestParams.AbRequestParams </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>构造一个空的请求参数. </p>

</div>
</div>
<a class="anchor" id="ada060f34bf9484eec14c92464d430a0b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.ab.http.AbRequestParams.AbRequestParams </td>
          <td>(</td>
          <td class="paramtype">Map&lt; String, String &gt;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>用一个map构造请求参数.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>the source </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa4082a231a9b2fe9e3c61f8e3bed4fb1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.ab.http.AbRequestParams.AbRequestParams </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>用一个key和value构造请求参数.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key </td></tr>
    <tr><td class="paramname">value</td><td>the value </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a3ad99a409de37b06410a8248837e9a56"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">HttpEntity com.ab.http.AbRequestParams.createFormEntity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建HttpEntity. </p><dl class="section return"><dt>返回</dt><dd>the http entity </dd></dl>

</div>
</div>
<a class="anchor" id="a0fbe0b666ba54ac2e236fa7171537be6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">HttpEntity com.ab.http.AbRequestParams.createMultipartEntity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_http_response_listener.html">AbHttpResponseListener</a>&#160;</td>
          <td class="paramname"><em>responseListener</em></td><td>)</td>
          <td> throws IOException</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>描述：创建文件域HttpEntity.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">responseListener</td><td>the response listener </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>the http entity </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td>Signals that an I/O exception has occurred. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a506d7f5e841273205b4dffa3f4122b08"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">HttpEntity com.ab.http.AbRequestParams.getEntity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1ab_1_1http_1_1_ab_http_response_listener.html">AbHttpResponseListener</a>&#160;</td>
          <td class="paramname"><em>responseListener</em></td><td>)</td>
          <td> throws IOException</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取HttpEntity.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">responseListener</td><td>the response listener </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>the entity </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td>Signals that an I/O exception has occurred. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa882cfe029ec93efbb90a2d91075e17f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;BasicNameValuePair&gt; com.ab.http.AbRequestParams.getParamsList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取参数列表. </p><dl class="section return"><dt>返回</dt><dd>the params list </dd></dl>

</div>
</div>
<a class="anchor" id="af964aff2d17018c24235eca091bdf68f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.ab.http.AbRequestParams.getParamString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取参数字符串. </p><dl class="section return"><dt>返回</dt><dd>the param string </dd></dl>

</div>
</div>
<a class="anchor" id="adf62ddcb341020325e3abd1cd4dda7f1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ConcurrentHashMap&lt;String, String&gt; com.ab.http.AbRequestParams.getUrlParams </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取url参数.</p>
<dl class="section return"><dt>返回</dt><dd>the url params </dd></dl>

</div>
</div>
<a class="anchor" id="ab239d3d2e9c306a7fa4e1e76b21ee0c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.http.AbRequestParams.init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>初始化. </p>

</div>
</div>
<a class="anchor" id="ad0aeda2e1c1f4759235e0d209703fecd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.http.AbRequestParams.put </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>增加一对请求参数.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key </td></tr>
    <tr><td class="paramname">value</td><td>the value </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a06cc3e936e0aeda409628fe31a43420b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.http.AbRequestParams.put </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">File&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>contentType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>增加一个文件域.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key </td></tr>
    <tr><td class="paramname">file</td><td>the file </td></tr>
    <tr><td class="paramname">contentType</td><td>the content type of the file, eg. application/json </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adc7a7077ad3d6c83d11a13f7c1b7eb97"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.http.AbRequestParams.put </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">File&#160;</td>
          <td class="paramname"><em>file</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>增加一个文件域.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key </td></tr>
    <tr><td class="paramname">file</td><td>the file </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7e6f2c2e3c7f8d457a42306d78484218"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.http.AbRequestParams.remove </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>删除一个请求参数.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a340fc13bc20b0407b14394d8df64063a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.http.AbRequestParams.setUrlParams </td>
          <td>(</td>
          <td class="paramtype">ConcurrentHashMap&lt; String, String &gt;&#160;</td>
          <td class="paramname"><em>urlParams</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置url参数.</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">urlParams</td><td>the url params </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a282fb374a5394be77a440e0c86cdd80c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.ab.http.AbRequestParams.toString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>描述：转换为参数字符串.</p>
<dl class="section return"><dt>返回</dt><dd>the string </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a class="anchor" id="a24ecb5a7236ac71cdda75722106e8ffa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final String com.ab.http.AbRequestParams.APPLICATION_OCTET_STREAM = &quot;application/octet-stream&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>流常量. </p>

</div>
</div>
<a class="anchor" id="a6d3b36578878bb25d28ef0fa45e8a2c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ConcurrentHashMap&lt;String, <a class="el" href="classcom_1_1ab_1_1http_1_1_ab_request_params_1_1_file_wrapper.html">FileWrapper</a>&gt; com.ab.http.AbRequestParams.fileParams</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件参数. </p>

</div>
</div>
<a class="anchor" id="a74843600ff87c23ecddbc2fb7ea63072"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ConcurrentHashMap&lt;String, String&gt; com.ab.http.AbRequestParams.urlParams</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>url参数. </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/com/ab/http/<a class="el" href="_ab_request_params_8java.html">AbRequestParams.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2014年 十一月 6日 星期四 11:22:02 , 为 AndBase开发框架使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
